package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.modular.system.model.Market;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-27
 */
public interface MarketMapper extends BaseMapper<Market> {

    Market searchLast(@Param("platform") String platform);

    void updateBalance(@Param("id") int id,@Param("platform")String platform,@Param("difference")double difference);

}
